<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            width: 200px;
            height: 200px;
            background: red;
            line-height: 200px;
            text-align: center;
            border: 1px solid black;
            font-size: 50px;
            margin: 0 auto;
            transform: skewX(30deg);
            /* 
              skewX  正值 拽右下角，往右边拉动，形成30deg
             
            */
        }
    </style>
</head> 
<body>
    <div>
        你好！
    </div>
</body>
</html>